package com.caocaog.market.dms.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品DTO
 */
@Getter
@Setter
@ToString
public class GoodsDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 商品名称必填
     */
    private String name;
    /**
     * 商品图片地址非必填
     */
    private String imageUrl;
    /**
     * 商品价格必填
     */
    private BigDecimal totalPrice;
    /**
     * 商品数量必填
     */
    private Integer totalCount;
    /**
     * 商品描述非必填
     */
    private String descs;
}
